/**
 * 接口列表文件
 */
export default {

	/** 相册 ↓ **/
	album: {
		// 列表
		catalog: {
			url: "api/album/catalog",
			auth: false,
			method: "POST",
		},
		detail: {
			url: "api/album/catalog/detail",
			auth: false,
			method: "POST",
		},
		// 添加相册
		add: {
			url: "api/album/catalog/add",
			auth: false,
			method: "POST",
		},
		// 删除相册
		del: {
			url: "api/album/catalog/del",
			auth: false,
			method: "POST",
		},
		// 删除相册图片
		delPhoto: {
			url: "api/album/photo/del",
			auth: false,
			method: "POST",
		},
		// 排序相册图片
		sortPhoto: {
			url: "api/album/photo/sort",
			auth: false,
			method: "POST",
		},
		// 移动相册图片
		movePhoto: {
			url: "api/album/photo/move",
			auth: false,
			method: "POST",
		},
		// 图片详情
		photoInfo: {
			url: "api/album/photo/info",
			auth: false,
			method: "POST",
		},
		// 成功上传到OSS的图片上传给后台服务器
		photo:{
			url: "api/album/catalog/photo",
			auth: false,
			method: "POST",
		}
	},
	other: {
		faqList: {
			url: "faq",
			auth: false,
			method: "GET",
			// desc: '常见问题列表',
		},
		feedbackType: {
			url: "feedback/type",
			auth: true,
			method: "GET",
			// desc: '意见反馈类型',
		},
		feedbackAdd: {
			url: "feedback/add",
			auth: true,
			method: "POST",
			// desc: '提交意见',
		},
		commentAdd: {
			url: "comment/submit",
			auth: true,
			method: "POST",
			// desc: '提交评论',
		},
		commentList: {
			url: "comment/list",
			auth: true,
			method: "GET",
			// desc: '评论列表',
		}
	},
	works: {
		index:{
			url: "api/works/catalog/index",
			auth: false,
			method: "POST",
		},
		edit:{
			url: "api/works/catalog/edit",
			auth: false,
			method: "POST",
		},
		detail:{
			url: "api/works/catalog/detail",
			auth: false,
			method: "POST",
		},
		finish:{
			url: "api/works/catalog/finish",
			auth: false,
			method: "POST",
		},
		catalogChoose:{
			url: "api/works/catalog/choose",
			auth: false,
			method: "POST",
		},
		catalogQure:{
			url: "api/works/catalog/qure",
			auth: false,
			method: "POST",
		},
		formwork:{
			url: "api/works/catalog/formwork",
			auth: false,
			method: "POST",
		}
	},
	oss:{
		config:{
			url: "api/oss/config",
			auth: false,
			method: "POST",
		},
		aliossParams:{
			url: "addons/alioss/index/params",
			auth: false,
			method: "POST",
		},
	}

};
